package com.liao.myblog.dao;

import com.liao.myblog.pojo.Catalogue;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CatalogueMapper {

    Catalogue findCatalogueById(int id);

    List<Catalogue> findCatalogueList();

    int findCatalogueCount();

    int deleteCatalogue(int[] ids);

    int updateCatalogue(Catalogue catalogue);

    int addCatalogue(Catalogue catalogue);
}
